package model

type GetOptResumeListReq struct {
	PagePageSize
	UserId uint `json:"-" form:"-"`
}

type GetOptResumeItemReq struct {
	Id uint `json:"id" form:"id" binding:"required"`
}

type UpdateOptResumeItemReq struct {
	Id   uint   `json:"-" form:"-"`
	Name string `json:"name" form:"name" binding:"required"`
}

type GenerateOptReq struct {
	Id  uint   `json:"id" form:"id,default=0"`
	Exp string `json:"exp" form:"exp" validate:"required"`
	Jd  string `json:"jd" form:"jd,default=''"`
}

type GenerateResumeFinishReq struct {
	Type    string `json:"type" form:"type" validate:"required"`
	Topic   string `json:"topic" form:"topic" validate:"required"`
	Message string `json:"message" form:"message" validate:"required"`
}
type GenerateResumeFinishData struct {
	Id      uint   `json:"id" form:"id,default=0" validate:"required"`
	Exp     string `json:"exp" form:"exp"`
	Opt_exp string `json:"opt_exp" form:"opt_exp"`
}
type GetOptResumeIsViewedResp struct {
	Is_viewed uint `json:"is_viewed" form:"is_viewed"`
}

// resume 请求内容
type ResumeContent struct {
	Resume string `json:"resume"`
	Jd     string `json:"jd"`
}

// resume 消息封装
type ResumeMsg struct {
	AppId     string         `json:"app_id"`
	QueryType string         `json:"query_type"`
	UserId    string         `json:"user_id"`
	Rc        *ResumeContent `json:"prompt_map"`
}
